package com.itheima.reggie.entity;

import lombok.Data;

import java.time.LocalDateTime;

/*
`id` bigint(20) NOT NULL,
  `user_id` bigint(20) DEFAULT NULL,
  `operation_time` datetime DEFAULT NULL,
  `operation_action` varchar(255) DEFAULT NULL,
  `operation_param` varchar(255) DEFAULT NULL,
  `operation_result` varchar(255) DEFAULT NULL,
 */
@Data
public class OperationLog {
    Long id;           //bigint(20) NOT NULL,
    Long user_id;           //bigint(20) DEFAULT NULL,
    LocalDateTime operation_time;           //datetime DEFAULT NULL,
    String operation_action;           //varchar(255) DEFAULT NULL,
    String operation_param;           //varchar(255) DEFAULT NULL,
    String operation_result;           //varchar(255) DEFAULT NULL,
}
